export interface ApiResponse<T> {
  code: number;
  message: string;
  data: T;
}
export interface MyResponse<T> {
  state: boolean;
  msg: string;
  data: T;
}
export interface PageResult<T> {
  records: T[];
  total: number;
  size: number;
  current: number;
}
// 购物车类型
export interface Cart {
  cartId: number;
  userId: number;
  productId: number;
  quantity: number;
  createdAt: string;
  updatedAt: string;
  addPrice: number;
  isDel: number;
}
